package br.biofoco.p2p.gui;

import java.io.File;

public abstract class Controller {
	
	protected SimpleGUI gui;

	public synchronized void showWindow() {
		if (gui == null)
			gui = new SimpleGUI(this);
		gui.setVisible(true);
	}

	public abstract void submit(File file);

	public abstract void submitTorrent(File file);
	
	public abstract void submitTaskSFTP(File arquivo);
	
}
